
<div class="modal fade" id="changePassword" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
 aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">修改个人密码</h4>
</div>
<div class="modal-body">
<form name="fm" method="post" action="doChangePassword.php" onsubmit="return
check()" class="form-horizontal">
<div class="form-group">
<label for="exampleInputPassword1" class="col-md-4 control-label">原密码</label>
<div class="col-md-4">
<input type="password" name="old" class="form-control" id="exampleInputPassword1"
 placeholder="原密码" required>
</div>
<div class="col-md-4">
</div>
</div>
<div class="form-group">
<label for="exampleInputPassword1" class="col-md-4 control-label">新密码</label>
<div class="col-md-4">
<input type="password" name="new1" class="form-control" id="exampleInputPassword1" placeholder="新密码" required>
</div>
<div class="col-md-4">
</div>
</div>
<div class="form-group">
<label for="exampleInputPassword1" class="col-md-4 control-label"> 确 认 新 密 码
</label>
<div class="col-md-4">
<input type="password" name="new2" class="form-control" id="exampleInputPassword1"
 placeholder="确认新密码" required>
</div>
<div class="col-md-4">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="submit" class="btn btn-default" value="修改">
<input type="reset" class="btn btn-default" value="重置">
</div>
</div>
<?php
if(isset($_GET["msg3"])){
echo'<h1 style="color:red;">'.$_GET["msg3"]."</h1>";
}
?>
<?php
if(isset($_GET["msg4"])){
echo'<h1 style="color:red;">'.$_GET["msg4"]."</h1>";
}
?>
<?php
if(isset($_GET["msg5"])){
  echo'<h1 style="color:red;">'.$_GET["msg5"]."</h1>";
}
?>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" onclick="location.replace('index.php')"
data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>

